package com.shierke.Ume.ui.activity

import android.app.Activity
import android.content.Context
import android.os.Bundle
import androidx.recyclerview.widget.LinearLayoutManager
import com.shierke.Ume.R
import com.shierke.Ume.base.BaseDialogActivity
import com.shierke.Ume.ui.adapter.TrendLocationListAdapter
import com.shierke.Ume.util.startActivity
import kotlinx.android.synthetic.main.activity_dialog_location_list.*

/**
 * Create by Ybx
 * on 2020-10-13
 * Desribe:
 */
class DialogLocationListActivity : BaseDialogActivity() {


    companion object {

        fun startActivity(context: Context) {
            context.startActivity<DialogLocationListActivity>()
            var activity = context as Activity
            activity.overridePendingTransition(R.anim.report_cause_in, 0)
        }
    }


    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        setContentView(R.layout.activity_dialog_location_list)
        setStatusBarTransparentAndFullScreen(this)


        recycle.layoutManager = LinearLayoutManager(this)
        val trendLocationListAdapter = TrendLocationListAdapter()
        recycle.adapter = trendLocationListAdapter

    }


}